Bug 559619 – invisible-char default cannot be tested
authorChristian Dywan <christian@imendio.com>
Wed, 12 Nov 2008 15:48:51 +0000 (15:48 +0000)
committerChristian Dywan <cdywan@src.gnome.org>
Wed, 12 Nov 2008 15:48:51 +0000 (15:48 +0000)
2008-11-12  Christian Dywan  <christian@imendio.com>

Bug 559619 – invisible-char default cannot be tested

* gtk/tests/defaultvalue.c (test_type):
        Skip invisible-char when testing

svn path=/trunk/; revision=21786

ChangeLog
gtk/tests/defaultvalue.c

index 92bfa8c775b118ee2dc051d78068a82725249d82..7f80c954a7013094a7bd34fb43ed5ed220896801 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-12  Christian Dywan  <christian@imendio.com>
+
+       Bug 559619 – invisible-char default cannot be tested
+
+       * gtk/tests/defaultvalue.c (test_type):
+        Skip invisible-char when testing
+
 2008-11-12  Richard Hult  <richard@imendio.com>
 
        * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
index 87f3d7709ea81dccb26fff6f88d8755bb1a5c093..8451490948e67fe47b37ce098d8cb0db43abfc7d 100644 (file)
@@ -168,6 +168,11 @@ test_type (gconstpointer data)
           strcmp (pspec->name, "cancel-button") == 0))
        continue;
 
+      /* Default invisible char is determined at runtime */
+      if (g_type_is_a (type, GTK_TYPE_ENTRY) &&
+         strcmp (pspec->name, "invisible-char") == 0)
+       continue;
+
       /* Gets set to the cwd */
       if (g_type_is_a (type, GTK_TYPE_FILE_SELECTION) &&
          strcmp (pspec->name, "filename") == 0)